package com.tang.model;

import java.util.HashMap;
import java.util.Map;

/**
 * Author:tibby tang
 * Created on 21/1/15.
 * Email:tangjian19900607@gmail.com
 * QQ:562980080
 */
public class Student {

    private String name;
    private int age;
    private Teacher teacher = new Teacher();
    private Map<String,Person> extra = new HashMap<String,Person>();
    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Map<String, Person> getExtra() {
        return extra;
    }

    public void setExtra(Map<String, Person> extra) {
        this.extra = extra;
    }
}
